package com.weakteam.orderonline.dataresource.dao;

import com.weakteam.orderonline.dataresource.domain.Goods;

import java.util.List;

/**
 * Created by Nail on 13.03.14.
 */
public interface GoodsDAO {

    public List<Goods> getAll();

    public List<Goods> getAllEnabled();

    public List<Goods> getAllByMenuId(Integer menuId);

    public List<Goods> getAllEnabledByMenuId(Integer menuId);

    public Goods getById(Integer id);

    public void save(Goods goods);

    public boolean delete(Integer id);

    public Integer getMaxOrder(Integer menuId);

    public List<String> getImageFileList();

    public List<String> getIcoFileList();

    public List<String> getEnabledImageFileList();

    public List<String> getEnabledIcoFileList();

}
